<%--
  Created by IntelliJ IDEA.
  User: zhouyufeng
  Date: 2021/7/6
  Time: 8:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
</head>
<body>
        <h3>您好，请登录</h3>

        <hr>
        <form action="${pageContext.request.contentType}/UserServlet">
          用户名：<input type="text" name="username"/><br>
            密码：<input type="password" name="password"/><br>
            <span style="color: red">${error}</span>
            <button type="submit">登录</button>
        </form>
</body>
</html>
